//
//  DailyView.h
//  Streaming
//
//  Created by 官琛 on 15-6-23.
//  Copyright (c) 2015年 liuxun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import "Photo.h"

@protocol pushReview <NSObject>

-(void)pushReview:(NSInteger)movID;

@end

@protocol pushPhoto <NSObject>

-(void)pushPhoto:(NSInteger)movieID;

@end

@protocol pushPerson <NSObject>

-(void)pushPerson:(NSInteger)personId;

@end

@interface DailyView : UIView<UIScrollViewDelegate>

@property(nonatomic,assign)id<pushReview>myDelegate;
@property(nonatomic,assign)id<pushPhoto>myDelegate1;
@property(nonatomic,assign)id<pushPerson>perDelegate;
@property(nonatomic,assign)NSInteger movieId;
-(instancetype)initWithFrame:(CGRect)frame movie:(NSInteger)movieID;
@property(nonatomic,retain)UIScrollView *scrollView;
@property(nonatomic,retain)UILabel *t;
@property(nonatomic,retain)UILabel *rating;
@property(nonatomic,retain)UILabel *tEn;
@property(nonatomic,retain)UILabel *d;
@property(nonatomic,retain)UILabel *type;
@property(nonatomic,retain)UILabel *showTime;
@property(nonatomic,assign)NSInteger rTime;
@property(nonatomic,retain)UILabel *rLocation;
@property(nonatomic,retain)UILabel *pt;
@property(nonatomic,retain)UIImageView *img;
@property(nonatomic,copy)NSString *video;
@property(nonatomic,retain)UIView *viewDaily;
@property(nonatomic,retain)UIView *viewPerson;
@property(nonatomic,retain)UIButton *detailsButton;
@property(nonatomic,assign)BOOL buttonState;
@property(nonatomic,retain)UIImageView *unfold;

@property(nonatomic,retain)UILabel *dN;
@property(nonatomic,assign)NSInteger directorId;
@property(nonatomic,retain)UILabel *directorNameEn;
@property(nonatomic,retain)UIImageView *directorImg;
@property(nonatomic,retain)UILabel *aN1;
@property(nonatomic,assign)NSInteger actorId1;
@property(nonatomic,retain)UILabel *actNameEn1;
@property(nonatomic,retain)UIImageView *actorImg1;
@property(nonatomic,retain)UIImageView *roleImg1;
@property(nonatomic,retain)UILabel *roleName1;
@property(nonatomic,retain)UILabel *aN2;
@property(nonatomic,assign)NSInteger actorId2;
@property(nonatomic,retain)UILabel *actNameEn2;
@property(nonatomic,retain)UIImageView *actorImg2;
@property(nonatomic,retain)UIImageView *roleImg2;
@property(nonatomic,retain)UILabel *roleName2;

@property(nonatomic,retain)UIView *still;
@property(nonatomic,retain)UIImageView *stillImage1;
@property(nonatomic,retain)UIImageView *stillImage2;
@property(nonatomic,retain)UIImageView *stillImage3;
@property(nonatomic,retain)UIImageView *stillImage4;
@property(nonatomic,retain)NSMutableArray *imageArray;

@property(nonatomic,retain)UIView *review;


@property(nonatomic,retain)MPMoviePlayerController *stream;


@end
